home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / mktty.man < prev    next >
Encoding:
Text File  |  1989-04-07  |  3.7 KB  |  135 lines

  1.  
  2.  
  3.  
  4. MKTTY                     User Commands                     MKTTY
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      mktty - Create pseudo-terminal with 4.3 BSD line discipline
  12.  
  13. SSYYNNOOPPSSIISS
  14.      mmkkttttyy _r_a_w_T_t_y _p_d_e_v_N_a_m_e [_c_o_m_m_a_n_d _a_r_g _a_r_g ...]
  15.  
  16. _________________________________________________________________
  17.  
  18.  
  19. DDEESSCCRRIIPPTTIIOONN
  20.      Given a raw serial line device, mmkkttttyy  generates  a  pseudo-
  21.      device that behaves like a terminal under 4.3 BSD UNIX, with
  22.      most of the features of the 4.3 BSD terminal driver.  _R_a_w_T_t_y
  23.      is  the  name  of a device file for a serial line.  TTttyy will
  24.      read keyboard input from this file in  raw  mode  and  write
  25.      screen  output  to  the  file,  also  in raw mode.  TTttyy will
  26.      create a pseudo-device at _p_d_e_v_N_a_m_e;  input from _r_a_w_T_t_y  will
  27.      appear  as  input  on  _p_d_e_v_N_a_m_e after line-editing and other
  28.      input-related features of the 4.3 BSD terminal driver.  Out-
  29.      put  to _p_d_e_v_N_a_m_e will eventually appear as output on _r_a_w_T_t_y,
  30.      after processing that simulates the features of the 4.3  BSD
  31.      terminal  driver.  All of the 4.3 BSD I/O-control operations
  32.      may be performed on  _p_d_e_v_N_a_m_e,  except  for  the  exceptions
  33.      listed  below.   Thus  if  a user's terminal is connected to
  34.      _r_a_w_T_t_y and if the user's applications all talk to  _p_d_e_v_N_a_m_e,
  35.      everything will behave as it did under 4.3 BSD UNIX.
  36.  
  37.      If _c_o_m_m_a_n_d is given as an argument to  mmkkttttyy,  it  (and  the
  38.      following  arguments) are executed with _p_d_e_v_N_a_m_e as standard
  39.      input, standard output, and standard error.
  40.  
  41.      TTttyy also supports a special mode of operation where it  uses
  42.      a  network  connection  instead of a raw serial line device.
  43.      If _r_a_w_T_t_y contains a colon character, then it is assumed  to
  44.      have the form _h_o_s_t::_p_o_r_t_N_u_m, where _h_o_s_t is the name of a host
  45.      and _p_o_r_t_N_u_m is a decimal port number within that  host.   In
  46.      this  case,  mmkkttttyy  will  open a TCP connection to the given
  47.      port and will use it for reading and writing  characters  to
  48.      the  supposed  terminal.   This  feature is designed for use
  49.      with the rrttttyy program, which is capable  of  supporting  the
  50.      other end of the TCP connection.
  51.  
  52.  
  53. UUNNIIMMPPLLEEMMEENNTTEEDD FFEEAATTUURREESS
  54.      For details on the features implemented by  mmkkttttyy,  see  the
  55.      4.3  BSD  man  page TTY(4).  TTttyy implements all of the func-
  56.      tionality of the 4.3 BSD ``new'' line discipline except  for
  57.      the following:
  58.  
  59.      o+    Control terminal:  there is no ``/dev/tty'' device  yet
  60.           in Sprite.
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0         Printed:  April 7, 1989                    1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. MKTTY                     User Commands                     MKTTY
  73.  
  74.  
  75.  
  76.      o+    Output delays, such as BS0  and  TAB0  are  not  imple-
  77.           mented;   the delay-related flags in sgttyb structs are
  78.           ignored, except for  XTABS,  which  doesn't  specify  a
  79.           delay and is implemented.
  80.  
  81.      o+    Parity is not generated or checked.
  82.  
  83.      o+    The LTILDE, LTOSTOP, LETXACK, and  LINTRUP  local  mode
  84.           flags are ignored.
  85.  
  86.      TTttyy  only  implements  the  ``new''  line  discipline:   the
  87.      ``old'' and ``net'' disciplines are not implemented.
  88.  
  89.  
  90. KKEEYYWWOORRDDSS
  91.      line discipline, pseudo-device, terminal driver
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0         Printed:  April 7, 1989                    2
  132.  
  133.  
  134.  
  135.